package com.ktjy.mapper.user;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(FIELD)
@Retention(RUNTIME)
@Deprecated
public @interface FruitColor {
    /**
     * 颜色枚举
     */
    enum Color {BLUE,RED,GREEN};

    /**
     * 颜色属性
     *
     */
    Color fruitColor() default Color.GREEN;
}
